css gadget: Adjust baselines for min-height
authorMatthias Clasen <mclasen@redhat.com>
Sun, 21 Feb 2016 03:23:28 +0000 (22:23 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 21 Feb 2016 03:31:39 +0000 (22:31 -0500)
commita754579e441df5ad34e338061d21217f1f5d5af8
treea5acb753e4fdfddc754422ebdfddb8e2116cb512
parentf3d67cc2ac3bda68f0fe6d6a163e54b633bc01f2
css gadget: Adjust baselines for min-height

We were forcing the size to be at least min-height, but we left the
baselines as they were, which had the effect of making text e.g
in entries 'stick to the top'.

With this change, we adjust the baseline to keep the ratio of
baseline to height unchanged.
gtk/gtkcssgadget.c